<template>
    <view>
        <view @tap="div_gift_btm_closeFn" :class="'mask1 ' + mask_class" v-if="div_gift_btm">
            <view
                @tap.stop.prevent="emptyFn"
                :class="'div_bottom div_bottom_yuan ' + div_gift_btm_box_class"
                :style="'--div_box_height:777rpx;--color:' + color + ';--rgbcolor:' + rgbcolor"
            >
                <view @tap.stop.prevent="div_gift_btm_closeFn" class="closert ico"></view>
                <view class="div_gift_btm">
                    <view @tap.stop.prevent="gifrandFn" class="btn4 ico">换一组 </view>
                    <view class="tips">
                        缘分，从送第一份礼物开始认识！
                        <text @tap.stop.prevent="giftmoreFn" class="more ico">更多礼物</text>
                    </view>
                    <view class="giflist">
                        <view class="li" v-for="(itemli, index) in GIFT.LIST" :key="index">
                            <view @tap.stop.prevent="giftwinFn" :data-id="itemli.id">
                                <image mode="aspectFill" :src="itemli.picurl"></image>
                                <view class="h4">{{ itemli.title }}</view>
                                <view class="h5">
                                    <text class="i ico"></text>
                                    {{ itemli.price }}
                                </view>
                            </view>
                        </view>
                    </view>
                </view>
            </view>
        </view>
        <view class="mask2 alpha0_100" v-if="div_gift_win">
            <view class="div_box div_gift_win big_normal" style="--div_box_width: 560rpx; --div_box_height: 560rpx">
                <view @tap="kefu_closeFn" class="close ico"></view>
                <view class="div_title">送礼物给【{{ U.nickname }}】</view>
                <view class="div_gift_win_box">
                    <view class="em">
                        <image class="loop_s_b_s" mode="aspectFill" :src="GIFTONE.picurl"></image>
                        <view class="h3">{{ GIFTONE.title }}</view>
                        <view class="h6">{{ GIFTONE.price }}{{ GIFT.dw }}</view>
                    </view>
                    <view @tap="kefu_closeFn" class="a">我再想想</view>
                    <view @tap="gift_sendFn" class="a">立即赠送</view>
                </view>
            </view>
        </view>
        <view class="tips0_100_0 alpha0_100_0" v-if="tips0_100_0">
            <view class="i ico hi"></view>
            礼物已送出
        </view>
        <view @tap="mask_closeFn" :class="'mask3 ' + mask_class" data-maskid="div_noloveb" v-if="div_noloveb">
            <view
                @tap.stop.prevent="emptyFn"
                class="div_box div_data small_big"
                :style="'--div_box_width:600rpx;--div_box_height:580rpx;--color:' + color + ';--rgbcolor:' + rgbcolor"
            >
                <view @tap.stop.prevent="mask_closeFn" class="closebtm ico" data-maskid="div_noloveb"></view>
                <view class="h1">{{ div_data_title }}</view>
                <rich-text class="C S15" :nodes="div_data_content" style="margin-top: 40rpx"></rich-text>
                <view class="C S15" style="margin-top: 40rpx">请点击下方按钮购买</view>
                <view class="C S15">购买后请重新发起送礼</view>
                <view class="ico picico"></view>
                <view class="btn_btm cols2">
                    <navigator class="btn4 ico" url="/myPages/loveb/loveb?currentTab=2">在线支付</navigator>
                    <navigator class="btn4 ico" url="/myPages/hongniang/hongniang">找经纪人购买</navigator>
                </view>
            </view>
        </view>
    </view>
</template>

<style>
@import 'div_gift_btm.css';
</style>
